package com.cake.dao;

import java.util.List;

import com.cake.dao.base.IBaseDao;
import com.cake.entity.XxOrderItem;

public interface XxOrderItemMapper extends IBaseDao<XxOrderItem> {
	
    int deleteByPrimaryKey(Long id);

    int insert(XxOrderItem record);

    int insertSelective(XxOrderItem record);

    XxOrderItem selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(XxOrderItem record);

    int updateByPrimaryKey(XxOrderItem record);
    
    /**
     * 通过订单id查询出订单详情列表
     * @param orderId
     * @return
     */
    List<XxOrderItem> selectOrderItemsByOrderId(Long orderId);
}